package com.ls.product.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ls.common.entity.PageData;
import com.ls.product.pojo.dto.PageProductDTO;
import com.ls.product.pojo.entity.Product;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaotang
 * @since 2023-04-07
 */
public interface IProductService extends IService<Product> {

    int updateStock(Integer id);

    PageData<Product> listPageProducts(PageProductDTO pageProductDTO);
}
